{{each data as gift}}
	<a href="#/order/0/{{gift.id}}" class="weui-media-box weui-media-box_appmsg weui-cell_access">
        <div class="weui-media-box__hd">
            <img class="weui-media-box__thumb" src="{{gift.lottery_path}}" alt="">
        </div>
        <div class="weui-media-box__bd">
            <h4 class="weui-media-box__title">{{gift.title}}</h4>
            <div class="weui-media-box__desc">{{gift.created | dateFormat:"yyyy-MM-dd h:mm"}}</div>
            <div class="weui-media-box__desc" style="margin-top: 1rem;">购买价格：{{gift.total}}元</div>
            <div class="weui-media-box__desc">状态：{{gift.status | mealOrderStatus}}</div>
        </div>
        {{if gift.status==1}}
        <div class="used">使用<span></span></div>
        {{else if gift.status==2}}
        <div class="used">详情<span></span></div>
        {{else}}
        <div class="used">去支付<span></span></div>
        {{/if}}
    </a>
{{/each}}
